package com.tiantianfresh.view.service;

import com.tiantianfresh.model.pojo.Commodity;
import com.tiantianfresh.model.pojo.CommodityAllocation;
import com.tiantianfresh.model.pojo.CommodityResult;
import com.tiantianfresh.model.pojo.Order;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author FANGAO
 * @date 2021/11/30 - 上午 11:01
 */
@Service
public interface DetailPageService {

    CommodityResult queryCommodity(Integer id);

    List<CommodityAllocation> queryCommodityAllocationAll(Integer comid);

    Order addOrder(Map<String, Integer> map);
}
